package com.ruoyi.price.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公式控件信息对象 tb_formula_widget
 * 
 * @author ruoyi
 * @date 2023-04-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbFormulaWidget extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 公式id */
    @Excel(name = "公式id")
    private Long formualId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 操作符 */
    @Excel(name = "操作符")
    private String operator;

    /** 控件类型（1：数值 2：比例） */
    @Excel(name = "控件类型", readConverterExp = "1=：数值,2=：比例")
    private Integer type;

    /** 状态(0:正常 1：停用) */
    @Excel(name = "状态(0:正常 1：停用)")
    private String status;

    /** 提示信息 */
    @Excel(name = "提示信息")
    private String  tipsInfo;

    /** 必填状态 */
    private String requiredStatus;
}
